﻿<%@ Page Language="C#" MasterPageFile="~/WebManager/manager.Master" AutoEventWireup="true"
    CodeBehind="NewClass.aspx.cs" Inherits="BaoJian.WebManager.Function.Class.NewClass" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" href="/Js/jquery/plugins/style/validator.css" rel="stylesheet" />

    <script language="javascript" src="/Js/jquery/jquery-1.3.1.min.js" type="text/javascript"></script>

    <script language="javascript" src="/Js/jquery/plugins/formValidator_min.js" type="text/javascript"></script>

    <script language="javascript" src="/Js/jquery/plugins/formValidatorRegex.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function() {
        $.formValidator.initConfig({ formid: "aspnetForm" });
        $("#ctl00_ContentPlaceHolder1_SubCatalogName").formValidator({onshow: "请输入子分类名称", oncorrect: "输入正确" }).inputValidator({ min: 1, max: 50, onerror: "子分类的字符数在1到25之间" });
        })

    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <div align="right">
            <asp:Button ID="Save1" runat="server" Text="保存" OnClick="Save1_Click" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="Ret" runat="server" Text="返回" Width="35px" OnClick="Ret_Click" />
            &nbsp;&nbsp;&nbsp;&nbsp;
        </div>
        <div>
            <br />
            <div>
                选择主分类名称或者填写主主分类名称
                <br />
                <asp:DropDownList ID="MainCatalogNameList" runat="server" DataTextField="MainCatalogName"
                    DataValueField="MainCatalogID">
                </asp:DropDownList>
                <br />
                <asp:TextBox ID="MainCatalogName" runat="server"></asp:TextBox>
                <br />
                <br />
                <br />
                填写子分类名称
                <asp:TextBox ID="SubCatalogName" runat="server"></asp:TextBox>
                <div id="ctl00_ContentPlaceHolder1_SubCatalogNameTip">
                </div>
            </div>
            <div>
            </div>
        </div>
    </div>
</asp:Content>
